<template>
  <div class="fen">
    <!-- 分类关联商品 -->
    <div class="ref-goods">
      <div class="head">
        <h3>- {{item.name}} -</h3>
        <p class="tag">温暖柔软，品质之选</p>
        <xinleft></xinleft>
      </div>
      <div class="body">
        <GoodsItem v-for="(it,key) in item.goods" :key="key" :it="it"/>
      </div>
    </div>
  </div>
</template>

<script>
import GoodsItem from "./xifen.vue";
import xinleft from "../xinleft.vue";

export default {
  props: ["item"],
  components: { GoodsItem, xinleft },
  data() {
    return {
     
    };
  },
  methods: {
   
  },
  mounted() {
    
  },
  computed: {},
  watch: {},
};
</script>

<style lang="scss" scoped>
.ref-goods {
  background-color: #fff;
  margin-top: 20px;
  position: relative;
  .head {
    .xtx-more {
      position: absolute;
      top: 20px;
      right: 20px;
    }
    h3 {
      text-align: center;
      font-size: 25px;
    }
    .tag {
      text-align: center;
      color: #999;
      font-size: 20px;
      position: relative;
      top: -20px;
      margin-top: 40px;
    }
  }
  .body {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0 65px 30px;
  }
}
</style>
